import request from '@/config/axios'

// 广告投放记录 API
export const AdApi = {
  // 分页
  getPage: async (params: any) => {
    return await request.get({ url: `/ad/plan-order/page`, params })
  },

  // 详情
  getDetail: async (id: number | string) => {
    return await request.get({ url: `/ad/plan-order/get?id=` + id })
  }
}
